function TabMea(value){tabNumID=value; TabsetBg(value); Tabplays(value);}
function TabsetBg(value){for(var i=0;i<tabIDsum;i++){if(value==i){L_bannerBut.getElementsByTagName("a")[i].className='down';}else{L_bannerBut.getElementsByTagName("a")[i].className='';}}}
function Tabplays(value){
	try{
		with (L_bannerImg){
			filters[0].Apply();
			for(i=0;i<tabIDsum;i++)i==value?children[i].style.display="block":children[i].style.display="none";
			filters[0].play();
		}
	}catch(e){
		var divlist = L_bannerImg.getElementsByTagName("li");
		for(i=0;i<tabIDsum;i++){i==value?divlist[i].style.display="block":divlist[i].style.display="none";}
	}
}
function TabclearAuto(){clearInterval(TabautoStart);}
function TabsetAuto(){TabautoStart=setInterval("Tabauto(tabNumID)", 3000);}
function Tabauto(){tabNumID++;if(tabNumID>tabIDsum-1)tabNumID=0;TabMea(tabNumID);}

/*===banner �л�*/
var tabNumID=0;
var L_bannerBut = $getObj("bannerTab_b");
var L_bannerImg = $getObj("bannerTab_g");
var tabIDsum = L_bannerImg.getElementsByTagName("li").length;
TabsetAuto();
TabMea(0);
/*===banner �л�*/